module.exports = (ctx) => {
  let indexAD = {
    0: {
      imgUrl: "https://wx.2xur7.cn/static/images/swiper/2.jpg",
      adURL: "https://www.2xur7.cn/static/about/",
      type: 'web'
    },
    1: {
      imgUrl: "https://wx.2xur7.cn/static/images/swiper/1.jpg",
      adURL: "https://www.2xur7.cn/static/about/",
      type: 'web'
    },
    2: {
      imgUrl: "https://wx.2xur7.cn/static/images/swiper/3.jpg",
      adURL: "https://www.2xur7.cn/static/about/",
      type: 'web'
    }
  };
  let videoAD = {
    middleAD: {
      imgUrl: "https://wx.2xur7.cn/static/images/swiper/2.jpg",
      adURL: "https://www.2xur7.cn/static/about/",
      type: 'web'
    },
    topAD: [{
        imgUrl: "https://wx.2xur7.cn/static/images/swiper/2.jpg",
        adURL: "https://www.2xur7.cn/static/about/",
        type: 'web'
      },
      {
        imgUrl: "https://wx.2xur7.cn/static/images/swiper/1.jpg",
        adURL: "https://www.2xur7.cn/static/about/",
        type: 'web'
      },
      {
        imgUrl: "https://wx.2xur7.cn/static/images/swiper/3.jpg",
        adURL: "https://www.2xur7.cn/static/about/",
        type: 'web'
      }
    ],
  }
  let videoDetailAD = {
    imgUrl: "https://wx.2xur7.cn/static/images/swiper/1.jpg",
    adURL: "https://www.2xur7.cn/static/about/",
    type: 'web'
  }
  let moreVideoAD = {
    imgUrl: "https://wx.2xur7.cn/static/images/swiper/2.jpg",
    adURL: "https://www.2xur7.cn/static/about/",
    type: 'web'
  }
  let templateAD = {
    imgUrl: "https://wx.2xur7.cn/static/images/swiper/2.jpg",
    adURL: "https://www.2xur7.cn/static/about/",
    type: 'web'
  }
  ctx.state.data = {
    state: 'enter',
    indexAD,
    videoAD,
    videoDetailAD,
    moreVideoAD,
    templateAD
  }
}
